﻿using System;
using System.Drawing;

namespace JoinBox.WPF.多文档标签.ViewModel
{
    //同高版本的Autodesk.AutoCAD.Windows.Window.State
    public enum State
    {
        Normal = 0,    //无状态
        Minimized = 1, //最小化
        Maximized = 2  //最大化
    }

    public class DPI
    {
        public static double CurrentDPI
        {
            get
            {
                return Graphics.FromHwnd(IntPtr.Zero).DpiX / 96;
            }
        }
    }
}